home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / Misc / LK_V1.06.LHA / LK V1.06 / HELP / libprefix.hlp < prev    next >
Encoding:
INI File  |  1994-11-01  |  1.4 KB  |  42 lines

  1. [LANGUAGE english; PARENT keywords; PAGE 11-53]
  2. [C;6;B]        LIBPREFIX "<...>"
  3. [7]Default: "_"
  4. [J;1;N]
  5.   This instruction defines a common prefix for the \
  6. name of your library functions. This prefix will be \
  7. added to the name present into the definition file. \
  8. For instance for QuickDOS library all library functions \
  9. are all defined with '_QD' lettres at the beginning. \
  10. If the .fd files was defined as follow:
  11.  
  12.     .fd file                object file
  13.  
  14.    OpenFile                _QDOpenFile
  15.    CloseFile               _QDCloseFile
  16.    CloseAllFiles           _QDCloseAllFiles
  17.    ...
  18.  
  19. lk will not be able to find the labels present into the \
  20. object files. But with the prefix "_QD" the symbols are \
  21. now correct. Note that the prefix is not applied to the \
  22. system functions: '_LibInit', '_LibOpen', '_LibClose' \
  23. and '_LibExpunge'.
  24.  
  25.   This instruction is useful if you want, in C, to make \
  26. some calls of your function not going through the library \
  27. base pointer. This is faster but not conventional.
  28.  
  29.   The fact this instruction is used, set the flag AMIGALIBRARY. \
  30. Please refer you to that instruction to have all necessary \
  31. informations.
  32.  
  33.   See also:
  34. [L;3][LINK amigalibrary]        AMIGALIBRARY
  35. [LINK copyright]            COPYRIGHT
  36. [LINK copyright]            LIBFD
  37. [LINK libfd]                LIBID
  38. [LINK version]                LIBREVISION
  39. [LINK version]                LIBVERSION
  40. [LINK version]                VERSION
  41. [5; LINK about; GOTO address]        Become Registred
  42.